package com.bestflashsolutions.events
{
	import flash.events.Event;
	
	public class UploaderEvent extends Event
	{
		public static var UPLOAD_COMPLETE:String = "uploadComplete";
		public static var UPLOAD_ERROR:String = "uploadError";
		public static var UPLOAD_SELECT:String = "uploadSelect";
		
		public var objectReturn:Object;
		
		public function UploaderEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false, datas:Object=null)
		{
			super(type, bubbles, cancelable);
			objectReturn = datas;
		}
		
		override public function clone():Event
		{
			return new UploaderEvent(type, bubbles, cancelable, objectReturn);
		}
	}
}